{foreach from=$value item=item}
<form method="post">
	<article class="module width_full">
		<header><h3>{#replay#}</h3></header>
		<div class="module_content">
			<input type="hidden" name="uid" value="{$item.playerId}">
			<fieldset>
				<label>{#title#}</label>
				<input type="text" name="title" value="{#support#} {$item.title}" >
			</fieldset>
			<fieldset>
				<label>{#message#}</label>
				<textarea rows="10" name="message" style="width:95%;">{#dear#} {$item.accountname},</textarea>
			</fieldset>
			<div class="clear"></div>
		</div>
		<footer>
			<div class="submit_link">
				<a href="index.php?mod=petitions&page=replay&id={$item.id}"><input type="submit" value="{#replay#}" name="replay" class="alt_btn"></a>
			</div>
		</footer>
	</article>
</form>
	


<article class="module width_full">
    <header><h3>{#petitions#} - {$item.status}</h3></header>
    <div class="module_content">
        <fieldset>
            <label>{#title#}</label>
            <input type="text" value="{$item.title}" >
        </fieldset>
        <fieldset>
            <label>{#message#}</label>
            <textarea rows="10" style="width:95%;" readonly>{$item.message}</textarea>
        </fieldset>
		<div class="clear"></div>
    </div>
</article>

{/foreach}
<!-- Addet -->
<div class="modal" id="replayed">
        <h3>{#status#}</h3>
		<p>{#success_replayed#}</p>
</div>
